package cn.stylefeng.guns.modular.gridsystem.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 倾角上传日志
 *
 * @author ssy
 * @date 2022/02/16 10:59
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WpUploadLogParam extends BaseParam {

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Integer id;

    /**
     * 倾角
     */
    @NotNull(message = "倾角不能为空",groups = {add.class,edit.class})
    private String dip;

    /**
     * 时间
     */
    private Date createTime;

    /**
     * 网关
     */
    @NotNull(message = "通道Id不能为空",groups = {add.class,edit.class})
    private Integer channelId;


    private String gatewayIds;

    private String gatewayId;

}
